<!-- eslint-disable vue/multi-word-component-names -->
<!-- eslint-disable vue/no-mutating-props -->
<template>
    <el-form size="small" label-suffix=" :">
        <el-form-item label="指定最小值或最大值">
            <el-select v-model="data.Function">
                <el-option value="Min" />
                <el-option value="Max" />
            </el-select>
        </el-form-item>
    </el-form>
    <el-form size="small" label-position="top" label-suffix=" :">
        <el-form-item label="指定输入端口数量">
            <el-input v-model="data.Inputs" />
        </el-form-item>
    </el-form>
    <el-form size="small" label-suffix=" :">
        <!-- <el-form-item label="应用于">
            <el-select>
                <el-option value="" />
            </el-select>
        </el-form-item> -->
        <el-form-item>
            <ctcheckbox v-model="data.ZeroCross">启用过零检测</ctcheckbox>
        </el-form-item>
    </el-form>
</template>

<script setup>
const { data } = defineProps(['data'])

</script>


<style scoped></style>